package com.ericpol.pageobject;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class RecoveryPage extends Page{
	
	 public RecoveryPage(WebDriver driver) {
		 super(driver);
	 }
	 
	 protected LoginPage recoverPassword(String user) {
			insertText(By.id("login"), user);
			findAndClick(By.name("commit"));
			return new LoginPage(driver);
	 }
}
